Ubuntu 11.04
Sponsored Link

Configure as a Reverse Proxy
2011/05/05
  Configure Squid as a Reverse Proxy

[1] Configure Squid
root@lan:~#
vi /etc/squid3/squid.conf


# line 1117: specify backend web server's IP address

http_port
80 defaultsite=10.0.0.31


# line 1867: add

cache_peer 10.0.0.31 parent 80 0 no-query originserver


# line 828:add ( allow all http access )

http_access allow all


root@lan:~#
/etc/init.d/squid3 restart

* Restarting Squid HTTP Proxy 3.x squid3
* Waiting...
...done.
* Creating Squid HTTP Proxy 3.x cache structure
2011/05/05 03:31:41| Creating Swap Directories
...done.
[2] Change Settings of DNS or router if needed, and access to make sure the settings are enabled.
 
 
Tweet